package com.oa.srms.apps.dao.organization;

import java.util.List;

import com.oa.srms.apps.entity.organization.PostInfoValue;

public interface IPostInfoDao {
	public int addPostInfo(PostInfoValue postInfo)throws Exception;

	public boolean editPostInfo(PostInfoValue postInfo)throws Exception;

	public PostInfoValue queryByPostId(PostInfoValue postInfo)throws Exception;

	public List<PostInfoValue> queryPostInfo(PostInfoValue postInfo)throws Exception;
	
	public int countTPages(PostInfoValue postInfo, int rows)throws Exception;
	
	public List<PostInfoValue> queryPostInfoWithPage(PostInfoValue postInfo,int rows, int pageNo)throws Exception;
	
	public int getTotalPages() throws Exception;
}
